package com.jeejam.storage.dao;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import com.jeejam.framework.base.dao.BaseMapper;
import com.jeejam.storage.pojo.Depot;

public interface DepotMapper extends BaseMapper{
	
	public List<Depot> selectRoot();
	
	public List<Depot> selectRootByPage(Map<String, Serializable> params);
	
	public List<Depot> selectChildren(int catId);
	
	public List<Depot> selectSubChildren(int parentId);
	
	public int countsWithRoot();
	
	public Depot selectByCode(String code);
	
}